package com.czx.service.impl;

import net.sf.cglib.core.ReflectUtils;
import net.sf.cglib.core.Signature;
import net.sf.cglib.proxy.Callback;
import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;

import java.lang.reflect.Method;

/* compiled from: <generated> */
public class IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e extends IndexServiceImpl {
    private static Callback[] CGLIB$STATIC_CALLBACKS = null;
    private static ThreadLocal CGLIB$THREAD_CALLBACKS = null;
    private static Object[] CGLIB$emptyArgs = null;
    private static Method CGLIB$m$0$Method = null;
    private static MethodProxy CGLIB$m$0$Proxy = null;
    private static Method CGLIB$m$1$Method = null;
    private static MethodProxy CGLIB$m$1$Proxy = null;
    private static Method CGLIB$show$2$Method = null;
    private static MethodProxy CGLIB$show$2$Proxy = null;
    private static Method CGLIB$show$3$Method = null;
    private static MethodProxy CGLIB$show$3$Proxy = null;
    private boolean CGLIB$BOUND;
    private MethodInterceptor CGLIB$CALLBACK_0;

    static {
        CGLIB$STATICHOOK1();
    }

    public IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e() {
        CGLIB$BIND_CALLBACKS(this);
    }

    private static final void CGLIB$BIND_CALLBACKS(Object obj) {
        IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e = (IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e) obj;
        if (!indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.CGLIB$BOUND) {
            indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.CGLIB$BOUND = true;
            Object obj2 = CGLIB$THREAD_CALLBACKS.get();
            if (obj2 == null) {
                obj2 = CGLIB$STATIC_CALLBACKS;
                if (obj2 == null) {
                    return;
                }
            }
            indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.CGLIB$CALLBACK_0 = (MethodInterceptor) ((Callback[]) obj2)[0];
        }
    }

    static void CGLIB$STATICHOOK1() {
        try {
            CGLIB$THREAD_CALLBACKS = new ThreadLocal();
            CGLIB$emptyArgs = new Object[0];
            Class cls = Class.forName("com.czx.service.impl.IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e");
            String[] strArr = new String[]{"m", "()Ljava/lang/String;", "m", "(II)I", "show", "()V", "show", "(Ljava/lang/String;I)V"};
            Class cls2 = Class.forName("com.czx.service.impl.IndexServiceImpl");
            Method[] findMethods = ReflectUtils.findMethods(strArr, cls2.getDeclaredMethods());
            CGLIB$m$0$Method = findMethods[0];
            CGLIB$m$0$Proxy = MethodProxy.create(cls2, cls, "()Ljava/lang/String;", "m", "CGLIB$m$0");
            CGLIB$m$1$Method = findMethods[1];
            CGLIB$m$1$Proxy = MethodProxy.create(cls2, cls, "(II)I", "m", "CGLIB$m$1");
            CGLIB$show$2$Method = findMethods[2];
            CGLIB$show$2$Proxy = MethodProxy.create(cls2, cls, "()V", "show", "CGLIB$show$2");
            CGLIB$show$3$Method = findMethods[3];
            CGLIB$show$3$Proxy = MethodProxy.create(cls2, cls, "(Ljava/lang/String;I)V", "show", "CGLIB$show$3");
        }catch (Exception e){

        }
    }

    public static MethodProxy CGLIB$findMethodProxy(Signature signature) {
        String obj = signature.toString();
        switch (obj.hashCode()) {
            case -1135202757:
                if (obj.equals("m(II)I")) {
                    return CGLIB$m$1$Proxy;
                }
                break;
            case -789603912:
                if (obj.equals("m()Ljava/lang/String;")) {
                    return CGLIB$m$0$Proxy;
                }
                break;
            case -107098079:
                if (obj.equals("show(Ljava/lang/String;I)V")) {
                    return CGLIB$show$3$Proxy;
                }
                break;
            case 2067235672:
                if (obj.equals("show()V")) {
                    return CGLIB$show$2$Proxy;
                }
                break;
        }
        return null;
    }

    final String CGLIB$m$0() {
        return super.m();
    }

    final int CGLIB$m$1(int i, int i2) {
        return super.m(i, i2);
    }

    /**
     * 最终调用目标对象父类的方法
     */
    final void CGLIB$show$2() {
        super.show();
    }

    final void CGLIB$show$3(String str, int i) {
        super.show(str, i);
    }

    public final int m(int i, int i2) {
        MethodInterceptor methodInterceptor = this.CGLIB$CALLBACK_0;
        if (methodInterceptor == null) {
            CGLIB$BIND_CALLBACKS(this);
            methodInterceptor = this.CGLIB$CALLBACK_0;
        }
        if (methodInterceptor == null) {
            return super.m(i, i2);
        }
        Object intercept = null;
        try {
            intercept = methodInterceptor.intercept(this, CGLIB$m$1$Method, new Object[]{new Integer(i), new Integer(i2)}, CGLIB$m$1$Proxy);
        } catch (Throwable throwable) {
            throwable.printStackTrace();
        }
        return intercept == null ? 0 : ((Number) intercept).intValue();
    }

    public final String m() {
        MethodInterceptor methodInterceptor = this.CGLIB$CALLBACK_0;
        if (methodInterceptor == null) {
            CGLIB$BIND_CALLBACKS(this);
            methodInterceptor = this.CGLIB$CALLBACK_0;
        }
        try {
            return methodInterceptor != null ? (String) methodInterceptor.intercept(this, CGLIB$m$0$Method, CGLIB$emptyArgs, CGLIB$m$0$Proxy) : super.m();
        } catch (Throwable throwable) {
            throwable.printStackTrace();
        }
        return null;
    }

    public void setCallbacks(MethodInterceptor methodInterceptor) {
        this.CGLIB$CALLBACK_0 = methodInterceptor;
    }

    public final void show() {
        MethodInterceptor methodInterceptor = this.CGLIB$CALLBACK_0;
        if (methodInterceptor == null) {
            CGLIB$BIND_CALLBACKS(this);
            methodInterceptor = this.CGLIB$CALLBACK_0;
        }
        if (methodInterceptor != null) {
            try {
                // 方法拦截
                methodInterceptor.intercept(this, CGLIB$show$2$Method, CGLIB$emptyArgs, CGLIB$show$2$Proxy);
            } catch (Throwable throwable) {
                throwable.printStackTrace();
            }
        } else {
            super.show();
        }
    }

    public final void show(String str, int i) {
        MethodInterceptor methodInterceptor = this.CGLIB$CALLBACK_0;
        if (methodInterceptor == null) {
            CGLIB$BIND_CALLBACKS(this);
            methodInterceptor = this.CGLIB$CALLBACK_0;
        }
        if (methodInterceptor != null) {
            try {
                methodInterceptor.intercept(this, CGLIB$show$3$Method, new Object[]{str, new Integer(i)}, CGLIB$show$3$Proxy);
            } catch (Throwable throwable) {
                throwable.printStackTrace();
            }
            return;
        }
        super.show(str, i);
    }

}